<template>
  <div class="page">
    <h1 v-if="error.statusCode===404">页面未找到</h1>
    <h1 v-else>应用发生错误</h1>
    <nuxt-link to="/">首页</nuxt-link>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  props: ["error"],
  data() {
    return {};
  },
  components: {}
};
</script>

<style scoped>
</style>
